#ifndef _TIPS_H
#define _TIPS_H
#include <QtGlobal>
#include <QDataStream>

namespace tips {
    enum {
	DLE = 0x10,
	ETX = 0x03,
    };
} 

/************************************************************************** 
*				    PACKETS                               *
**************************************************************************/ 
struct Packet_0x8F_AB {

    quint8 	subcode;
    quint32	timeOfWeek;
    quint16	weekNumber;
    quint8	timingFlags;
    quint8	seconds;
    quint8	minutes;
    quint8	hours;
    quint8	day;
    quint8	month;
    quint8	year;

    Packet_0x8F_AB(QDataStream& in);
};

#endif /* _TIPS_H */
